#ifndef MESH_INFO_CLASS_HPP
#define MESH_INFO_CALSS_HPP

#include "Libraries.hpp"

/* =============================================================
 * Mesh_Info_class.hpp
 * This is the header file that defines the Mesh_Info class. 
 * In the class, we define a class that contains the following 
 * information:
 *         1. polynominal degree in s and t direction
 *         2. number of basis in s and t direction
 *         3. Periodicity condition in s and t direction
 *         4. knot vector in s and t direction
 *         5. control points coordinate and weights
 *
 * We get readin function and output function for such class
 *
 * Author: Ju Liu, Sept 14th 2011
 *         C.S.E.M. student, The Univ of Texas
 * ===========================================================*/


class Mesh_Info
{
  public:
    int p_x;
    int p_y;
    int n_x;
    int n_y;
    bool per_x;
    bool per_y;
    vect_double Xi_x;
    vect_double Xi_y;
    vect_double x;
    vect_double y;
    vect_double w;

    /* Constructor */
    Mesh_Info();
    
    void InputMesh( const char file_path[] );

};

#endif
